package com.example.ruralatour.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 *
 * </p>
 *
 * @author zhangzhen
 * @since 2024-05-18
 */
@ApiModel(value = "Orders对象", description = "")
public class Orders implements Serializable {

    private static final long serialVersionUID = 1L;
    @TableId(value = "orderId", type = IdType.AUTO)
    private Integer orderId;

    private Integer userId;

    private LocalDateTime scheduledtime;

    private LocalDateTime orderDate;

    private String status;

    private BigDecimal totalPrice;

    private String orderType;

    private Integer foodbusinessId;

    private Integer accommodationId;

    private Integer attractionId;

    private Integer routelistId;

    private Integer deleted;

    public Integer getOrderId() {
        return orderId;
    }

    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }
    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }
    public LocalDateTime getScheduledtime() {
        return scheduledtime;
    }

    public void setScheduledtime(LocalDateTime scheduledtime) {
        this.scheduledtime = scheduledtime;
    }
    public LocalDateTime getOrderDate() {
        return orderDate;
    }

    public void setOrderDate(LocalDateTime orderDate) {
        this.orderDate = orderDate;
    }
    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }
    public BigDecimal getTotalPrice() {
        return totalPrice;
    }

    public void setTotalPrice(BigDecimal totalPrice) {
        this.totalPrice = totalPrice;
    }
    public String getOrderType() {
        return orderType;
    }

    public void setOrderType(String orderType) {
        this.orderType = orderType;
    }
    public Integer getFoodbusinessId() {
        return foodbusinessId;
    }

    public void setFoodbusinessId(Integer foodbusinessId) {
        this.foodbusinessId = foodbusinessId;
    }
    public Integer getAccommodationId() {
        return accommodationId;
    }

    public void setAccommodationId(Integer accommodationId) {
        this.accommodationId = accommodationId;
    }
    public Integer getAttractionId() {
        return attractionId;
    }

    public void setAttractionId(Integer attractionId) {
        this.attractionId = attractionId;
    }
    public Integer getRoutelistId() {
        return routelistId;
    }

    public void setRoutelistId(Integer routelistId) {
        this.routelistId = routelistId;
    }
    public Integer getDeleted() {
        return deleted;
    }

    public void setDeleted(Integer deleted) {
        this.deleted = deleted;
    }

    @Override
    public String toString() {
        return "Orders{" +
            "orderId=" + orderId +
            ", userId=" + userId +
            ", scheduledtime=" + scheduledtime +
            ", orderDate=" + orderDate +
            ", status=" + status +
            ", totalPrice=" + totalPrice +
            ", orderType=" + orderType +
            ", foodbusinessId=" + foodbusinessId +
            ", accommodationId=" + accommodationId +
            ", attractionId=" + attractionId +
            ", routelistId=" + routelistId +
            ", deleted=" + deleted +
        "}";
    }
}
